package com.medata.service;

import com.medata.dataObject.Corrects;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface CorrectsService {
    Page<Corrects> findByName(String name, Pageable pageable);
    List<Corrects> findAll();
    Page<Corrects> findAll(Pageable pageable);
    void deleteAll();
    void delete(Integer id);
}
